package com.ibigcat.module.mdm.controller.admin.customer.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.ibigcat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.ibigcat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerPageReqVO extends PageParam {

    @Schema(description = "客户编号")
    private String customerCode;

    @Schema(description = "客户名称", example = "芋艿")
    private String customerName;

    @Schema(description = "简称")
    private String abbreviation;

    @Schema(description = "联系人")
    private String contactPerson;

    @Schema(description = "联系人手机号")
    private String contactPersonPhone;

    @Schema(description = "电子邮箱")
    private String mail;

    @Schema(description = "主体性质")
    private Integer mainNature;

    @Schema(description = "纳税人类型", example = "2")
    private Integer taxpayerType;

    @Schema(description = "纳税人识别号")
    private String taxpayerCode;

    @Schema(description = "客户类型", example = "1")
    private String customerType;

    @Schema(description = "所在省份")
    private String province;

    @Schema(description = "所在城市")
    private String city;

    @Schema(description = "所在区域")
    private String region;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "开户行名称", example = "王五")
    private String accountBankName;

    @Schema(description = "开户行账号")
    private String accountCode;

    @Schema(description = "经销品牌")
    private String businessBrands;

    @Schema(description = "服务区域")
    private String serviceArea;

    @Schema(description = "服务类型", example = "2")
    private String serviceType;

    @Schema(description = "人员生成标识")
    private Boolean userCreateFlag;

    @Schema(description = "园区编码")
    private String parkCode;

    @Schema(description = "启停状态")
    private Boolean disabled;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}